package com.xyzq.hs.util;

import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

public class PropertiesUtil {
	static Properties prop=new Properties();
	static{
		InputStream in=PropertiesUtil.class.getClassLoader()
				.getResourceAsStream("application.properties");
		try {
			prop.load(in);
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
	
	public static String get(String key){
		return prop.getProperty(key);
	}
	

}
